/*
 * Copyright (C), 2014-2015, 杭州小卡科技有限公司
 * Created by ciwei@xiaokakeji.com on 2016/05/22.
 */
package com.micromall.repository.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;
import java.util.List;

/**
 * 运费模板
 *
 * @author ciwei@xiaokakeji.com
 * @date 2016/05/22.
 */
public class FreightTemplate extends IdEntity {

	// 模板名称
	private String  name;
	// 运送公司
	private String  carryWay;
	// 是否包邮
	private Boolean inclPostage;
	// 计价方式(1:按件 2:按重量)
	private Integer valuationModel;
	@JsonIgnore
	private Boolean deleted;
	//
	private Date    createTime;
	//
	private Date    updateTime;

	private List<FreightRules> freightRulesList;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCarryWay() {
		return carryWay;
	}

	public void setCarryWay(String carryWay) {
		this.carryWay = carryWay;
	}

	public Boolean getInclPostage() {
		return inclPostage;
	}

	public void setInclPostage(Boolean inclPostage) {
		this.inclPostage = inclPostage;
	}

	public Integer getValuationModel() {
		return valuationModel;
	}

	public void setValuationModel(Integer valuationModel) {
		this.valuationModel = valuationModel;
	}

	public Boolean getDeleted() {
		return deleted;
	}

	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public List<FreightRules> getFreightRulesList() {
		return freightRulesList;
	}

	public void setFreightRulesList(List<FreightRules> freightRulesList) {
		this.freightRulesList = freightRulesList;
	}
}
